Data-Parallelism and GPUs for Lattice Gas Fluid Simulations
نویسندگان
چکیده
Lattice gas cellular automata (LGCA) models provide a relatively fast means of simulating fluid flow and can give both quantitative and qualitative insights into flow patterns around complex obstacles. Symmetry requirements inherent in the Navier-Stokes equation mandate that lattice-gas approximations to the full field equations be run on triangular lattices in two dimensions and on a 3-D projection of a four dimensional face centred hyper-cubic for three dimensions. Graphics Processing Units (GPUs) o↵er powerful data-parallel processing capabilities for many simulations as well as the graphics calculations required to simulate them. We describe how GPUs can be used to implement mesh structures for simulating lattice gases. We present performance data on how to optimise data layout in the various levels of localised memory available in modern GPUs and discuss data transfer issues between CPU and GPU and between processing GPU and graphics GPU in a unified simulation platform. We illustrate these ideas with algorithmic fragments in Compute Unified Device Architecture (CUDA) NVIDIA’s GPU programming language.
منابع مشابه
A simulation suite for Lattice-Boltzmann based real-time CFD applications exploiting multi-level parallelism on modern multi- and many-core architectures
We present a software approach to hardware-oriented numerics which builds upon an augmented, previously published set of open-source libraries facilitating portable code development and optimisation on a wide range of modern computer architectures. In order to maximise efficiency, we exploit all levels of parallelism, including vectorisation within CPU cores, the Cell BE and GPUs, shared memory...
متن کاملImplementing the lattice Boltzmann model on commodity graphics hardware
Modern graphics processing units (GPUs) can perform generalpurpose computations in addition to the native specialized graphics operations. Due to the highly parallel nature of graphics processing, the GPU has evolved into a many-core coprocessor that supports high data parallelism. Its performance has been growing at a rate of squared Moore’s law, and its peak floating point performance exceeds...
متن کاملEntropic lattice Boltzmann simulation of three-dimensional binary gas mixture flow in packed beds using graphics processors
The lattice Boltzmann method is employed for simulating the binary flow of Oxygen/Nitrogen mixture passing through a highly dense bed of spherical particles. Simulations are performed based on the latest proposed entropic lattice Boltzmann model for multi-component flows, using the D3Q27 lattice stencil. The curved solid boundary of the particles is accurately treated via a linear interpolation...
متن کاملA progressive mesh method for physical simulations using lattice Boltzmann method on single-node multi-gpu architectures
In this paper, a new progressive mesh algorithm is introduced in order to perform fast physical simulations by the use of a lattice Boltzmann method (LBM) on a single-node multi-GPU architecture. This algorithm is able to mesh automatically the simulation domain according to the propagation of fluids. This method can also be useful in order to perform several types of physical simulations. In t...
متن کاملCalculation of Friction Coefficient and Analysis of Fluid Flow in a Stepped Micro-Channel for Wide Range of Knudsen Number Using Lattice Boltzmann (MRT) Method
Micro scale gas flows has attracted significant research interest in the last two decades. In this research, the fluid flow of gases in the stepped micro-channel at a wide range of Knudsen number has been analyzed with using the Lattice Boltzmann (MRT) method. In the model, a modified second-order slip boundary condition and a Bosanquet-type effective viscosity are used to consider the veloci...
متن کامل